package com.usian;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author chen
 * @date 2021/1/8 - 14:55 - 星期五
 * @project usian_parent
 * @package com.usian
 * @by GGbomd猪猪侠
 */
@SpringBootApplication //定义启动类
//@EnableEurekaClient 这个注解只能是eureba的注册中心  @EnableDiscoveryClient 这个注册是可以是其他注册中心
@EnableDiscoveryClient
@MapperScan("com.usian.mapper") //扫描mapper接口包
public class ItemServiceApp {
    public static void main(String[] args) {
        SpringApplication.run(ItemServiceApp.class,args);
    }
}
